﻿<?xml version="1.0" encoding="utf-8" ?>
<Rules>
  <MySql ServerName="" UserID="" Password=""></MySql>
  <Rule Charset="UTF-8" Status="Queueing" Type="FatSecret" StartDate="" EndDate="">
    <FilterChars>
      <![CDATA[&#39;="'"]]>
    </FilterChars>
    <LinksRegex>
      <![CDATA[<a (?:class="prominent"|style="color: #0073AD;").+?href="(.+?)"]]>
    </LinksRegex>
    <URLRule Name="FatSecret" UrlPrefix="http://www.fatsecret.com" SaveFormatType="CSV">
      <![CDATA[{UrlPrefix}/Default.aspx?pa=toc&pg={MaxPage=304}&f=a&s=0|{UrlPrefix}/Default.aspx?pa=toc&s=0|{UrlPrefix}/Default.aspx?pa=toc&pg={MaxPage=16}&f=a&s=1|{UrlPrefix}/Default.aspx?pa=toc&s=1|{UrlPrefix}/Default.aspx?pa=toc&pg={MaxPage=12}&f=a&s=2|{UrlPrefix}/Default.aspx?pa=toc&s=2]]>
    </URLRule>
    <Field Name="Name" RemoveHtmlTags="True">
      <![CDATA[<div class="bottom" style="height:55px">(.+?)</h1>]]>
    </Field>
    <Field Name="Serving" RemoveHtmlTags="True">
      <![CDATA[<h2 style="text-transform:capitalize;margin:0">\s+<img.+?>(.+?)</h2>(.+?)<hr/>]]>
    </Field>
    <Field Name="Serving Size" RemoveHtmlTags="True">
      <![CDATA[Serving Size (.+?)</td>]]>
    </Field>
    <Field Name="Calories" RemoveHtmlTags="True">
      <![CDATA[<div class="factTitle">Calories</div>(.+?)</div>]]>
    </Field>
    <Field Name="Fat" RemoveHtmlTags="True">
      <![CDATA[<div class="factTitle">Fat</div>(.+?)</div>]]>
    </Field>
    <Field Name="Carbs" RemoveHtmlTags="True">
      <![CDATA[<div class="factTitle">Carbs</div>(.+?)</div>]]>
    </Field>
    <Field Name="Protein" RemoveHtmlTags="True">
      <![CDATA[<div class="factTitle">Protein</div>(.+?)</div>]]>
    </Field>
  </Rule>
  <Rule Charset="UTF-8" Status="UnQueueing" Type="Common" StartDate="" EndDate="">
    <FilterChars>
      <![CDATA[扬州网讯=""|src="../../=src="{UrlPrefix}/|../../attachement={UrlPrefix}/attachement|'=""|<object.+?</object>=""|<style type="text/css">[\s\S]+?</style>="">|<!--[\s\S]+?-->=""]]>
    </FilterChars>
    <LinksRegex>
      <![CDATA[<div style="float:left;margin-left:12px;line-height:24px;font-size:16px;">.+?"(.+?)"]]>
    </LinksRegex>
    <URLRule Name="美食资讯" UrlPrefix="http://www.yznews.com.cn/yznews08/mspd" Category="4" SaveFormatType="DiscuzArticle">
      <![CDATA[{UrlPrefix}/mszx_{MaxPage=32}.htm|{UrlPrefix}/mszx.htm]]>
    </URLRule>
    <!--<URLRule Name="图片新闻" UrlPrefix="http://www.yznews.com.cn/yznews08" Category="1" SaveFormatType="DiscuzArticle">
      <![CDATA[{UrlPrefix}/flash_{MaxPage=50}.htm|{UrlPrefix}/flash.htm]]>
    </URLRule>-->
    <!--<URLRule Name="扬州要闻" UrlPrefix="http://www.yznews.com.cn/news" Category="1" SaveFormatType="DiscuzArticle">
      <![CDATA[{UrlPrefix}/2012yaowen_{MaxPage=2}.htm|{UrlPrefix}/2012yaowen.htm]]>
    </URLRule>-->
    <!--<URLRule Name="旅游新闻" UrlPrefix="http://www.yznews.com.cn/ly" Category="25" SaveFormatType="DiscuzArticle">
      <![CDATA[{UrlPrefix}/lyxw_{MaxPage=65}.htm|{UrlPrefix}/lyxw.htm]]>
    </URLRule>-->
    <Field Name="Title" RemoveHtmlTags="True">
      <![CDATA[<title>(.+?)</title>]]>
    </Field>
    <Field Name="Content" RemoveHtmlTags="False">
      <![CDATA[<!--enpcontent-->([\s\S]+?)<!--/enpcontent-->]]>
    </Field>
  </Rule>
</Rules>
